/*
 * <p>Copyright ® 数据爬虫案例版权所有。</p>
 * 类名:ViewWorksAuthorPK
 * 创建人:xiaoxiao
 * 创建时间:2017-02-17
 */
package com.wx.demo.wcd.domain.pk;

import com.yjhl.framework.domain.pk.PK;
import com.wx.demo.wcd.domain.po.ViewWorksAuthorPO;

/**
 * primary key class for ViewWorksAuthor view
 * @author xiaoxiao
 * @since 1.8
 * @version 1.0.0  
 */
 
public class ViewWorksAuthorPK extends PK {
    private static final long serialVersionUID = 1L;
    
    
    /**
     * 作品ID
     */
    private String worksId;

    public String getWorksId() {
        return worksId;
    }

    public void setWorksId(String worksId) {
        this.worksId = worksId;
    }
    
    public ViewWorksAuthorPK(){
    	super();
    }
    public ViewWorksAuthorPK(
    	String worksId 
                                                                                                                        ){
    	super();
    	
    	//
	    setWorksId ( worksId );	    		
    }
    
	/**
	 * @see com.yjhl.framework.domain.pk.PK#isNull()
	 */
	@Override
    public boolean isNull(){
		return (		
	    worksId == null 	    	
				);
	}
	
	/**
	 * @see com.yjhl.framework.domain.pk.PK#isEmpty()
	 */
	@Override
    public boolean isEmpty(){
		return (		
    	worksId == null 
				);
	}
	
	
	/**
	 * @see com.yjhl.framework.domain.pk.PK#makePO()
	 */
	@Override
    public ViewWorksAuthorPO makePO(){
    	ViewWorksAuthorPO entityPO = new ViewWorksAuthorPO();
    	
		entityPO.setWorksId( worksId );
    	
    	return entityPO;
	}
    
}
